Look online or in the phone book for speedometer repair shops. They should/might be able to make up a new cable with proper ends. Here is one from a quick search;
http://www.texasindustrialelectric.com/speedo.asp
If you can solder, buy the housing and install your ends.