A few of my cables don't work. Is it because they weren't shielded properly?
No, the problem is your not using twisted pairs. USB uses differential signalling with an impedance of 90Ω (transmission line impedance). You also need a shield to protect against noise.