The fabrication and assembly of the beam source for the SPIDER experiment