FWIW, I wouldn't go about replacing all the components. If I were you, I would do the following:
~Suck out as much fluid from the brake reservoir as you can and replace with fresh brake fluid.
~Flush brake lines starting with right rear, then left rear, then right front, then right front.
~Flush a quart or two of new, fresh brake fluid through the lines.
~Drive car.
To flush the lines, I always used a second person and would have them pump, then crack the lines and bleed. Close valve. Repeat. But recently I tried the speed bleeders. They work great. About $20 for all four and they are great. Even if you have someone helping you, they make things go a lot easier and quicker.