The most reliable way to build out your roster in Super Smash Bros. Brawl is to play through the Subspace Emissary, the game's story mode.
Despite being listed as a co-op mode, the Subspace Emissary is something you can happily tackle solo. As you progress, various characters join your party, and each one you recruit becomes available for use in the main versus modes once you finish the run.
Classic Mode, the Target Smash and Home-Run Contest challenges, and lengthy playtime milestones all unlock fighters too, so you do not have to rely on the story alone. Some characters have very specific requirements, which is why the campaign tends to be the fastest overall route for most players.
Be aware that progress is saved to the Wii's system memory, so if you want everything unlocked at once, set aside a decent block of time rather than expecting a quick session to do it.