Are you sure the issue is static electricity? Despite being essentially some of the best mice on the market, the switches they use are a bit sub-standard. Over time, they tend to develop double-click issues. (Where a single click registers as two)
I had a G305 that did this, and given the low price of the mouse I gave up going through the work to desolder and replace the switches.