the cables usually come as a complete assembly you can change the piece you have broken only if you want though as they are in 3 bits what part is broken the top piece?if so then just disassemble the part you need from your new cable and replace the broken one on your bike.
adam bike doctor, February 2010