You don't always need to bleed all four brakes. If a brake line you're replacing only connects to one wheel or you replace just one caliper, you should only need to bleed the appropriate corner. It's good practice to bleed the others as it's the best way to ensure there is no air in the system.