If its the crappy black belkin one from wal mart throw that bitch away. I bought one of of the apple website, very high quality and doesn't short out on me ever, no matter what way it is turned or twisted it always works.
Edit: This one :
The Apple Store (U.S.) - Belkin Mini Stereo Cable