Shapefiles are a type of geographic data that is commonly used in GIS and other software. This office distributes shapefiles of voting precinct data and recent election results on the Minnesota Geospatial Commons. Older election results shapefiles can be found at the Legislative GIS office's Download Data page.
For some purposes, the Google Earth (KML) or GeoJSON files of voting precincts may be more useful.