Whats the dogs diet consisting of? I had a few do that and I played with their sodium / potassium a bit and It went away.. I added sweet potato for a carb source and add some sodium/ electrolyte to their feed and the leg shaking went away.. They are pretty much having muscle spasm and cramps just as we do. Hope this helps