For the Sellbot disguise you have to run factories, and each factory you complete gives you one part. One factory, one part — so it is a matter of repeating the same cog building until you have the full set.
The other four cog types work differently: Cashbot, Lawbot, Bossbot and later the rest are tied to toontasks and their own building types rather than factories. Check which cog headquarters you need in the Toontown in-game help, then focus on that building type, since the parts are not interchangeable.