Dragon Balls are collected either by destroying buildings and obstacles in Dragon Story Mode or randomly by winning tournaments.
A quick tip: play the Special Saga on Easy and take on the fight between Super Saiyan Goku and the evil Namekian Lord Slug. There are plenty of buildings to smash, and the battle is short—as long as you don't trigger the R3 event when it pops up. It's the fastest way to gather them.