When using shift registers can I use a common "bar" for 8 switche common wires and then run just 1 wire to the shift register?

I have finally built box with all switches encoders and potentiometres and while encoders and pots work it appears that all switches seem active. The only change I made was to use a common bar for each of the SR's. Unless I have bugged i\the board.