Two things have to happen first:
A: unlock every other character in the roster.
B: clear Classic Mode, Adventure Mode or the Target Test with every single character.
Once both are done, Mr. Game & Watch will show up and challenge you to a fight. Beat him and he joins your roster.