This article introduces a novel virtual sensor for predictive maintenance called mini-term. A mini-term can be defined as the time it takes for a part of the machine to do its job. Being a technical sub-cycle time, its function has been linked to production. However, when a machine or component gets deteriorated, the mini-term also suffers deterioration, allowing it to be a multifunctional indicator for the prediction of machine failures as well as measurement of production. Currently, in Industry 4.0, one of the handicaps is Big Data and Data Analysis. However, in the case of predictive maintenance, the need to install sensors in the machines means that when the proposed scientific solutions reach the industry, they cannot be carried out massively due to the high cost this entails. The advantage introduced by the mini-term is that it can be implemented in an easy and simple way in pre-installed systems since you only need to program a timer in the PLC or PC that controls the line/machine in the production line, allowing, according to the authors’ knowledge, to build industrial Big Data on predictive maintenance for the first time, which is called Miniterm 4.0. This article shows evidence of the important improvements generated by the use of Miniterm 4.0 in a factory. At the end of the paper we show the evolution of TAV (Technical availability), Mean Time To Repair (MTTR), EM (Number of Work order (Emergency Orders/line Stop)) and OM (Labour hours in EM) showing a very important improvement as the number of mini-terms was increased and the Miniterm 4.0 system became more reliable. In particular, TAV is increased by 15%, OM is reduced in 5000 orders, MTTR is reduced in 2 h and there are produced 3000 orders less than when mini-terms did not exist. At the end of the article we discuss the benefits and limitations of the mini-terms and we show the conclusions and future works.