Default [Q] Nexus 7 2012 charging cable replacement

So I have had my Nexus 7 2012 for awhile now, and at some point I dropped it while it was charging, it landed on the cable which broke the USB port and the cable. I put in a new charging port and tried using a generic cable and it charged it very slowly. So I bought the Samsung cable and that worked for about 3 weeks, but the cable then started to fall out of the port and now if I wanted to use it, I'd have to hold it in all the time. So right now I am stuck with a generic cable and have no idea what to replace the cable with. I wanted to get the original cable, but I can only find it with the power brick. Which would cost me $40.

Do any of you know of cables that'd work well with mine?