Purification of the 278 tons of liquid scintillator and 889 tons of buffer shielding for the Borexino solar neutrino detector is performed with a system that combined distillation, water extraction, gas stripping and filtration. This paper describes the principles of operation, design, and construction of the purification system, and reviews the requirements and methods to achieve system cleanliness and leak-tightness.